home *** CD-ROM | disk | FTP | other *** search
- Subject: Re: ODPart --> BaseShape
- Sent: 4/11/96 3:20 PM
- Received: 4/11/96 3:31 PM
- From: Henri Lamiraux, lamiraux@apple.com
- Reply-To: ODF-Interest@CILabs.ORG
- To: OpenDoc Development Framework Discussion List, ODF-Interest@CILabs.
-
- >I want the (draw-based container) to draw lines between
- >these ODParts (not wrappers), but have problems in finding
- >their bounding rects/positions in the containing part.
- >I'm shure there is a easy solution to this, but I'm somehow
- >getting to close and messing things up (not having the complete
- >picture of the graphical model of ODF+OD, which is wery well
- >documented indeed).
-
- I am not sure I understand exactly what your are trying to do but I can
- try. If you have based your editor on ODFDraw and you want to know the
- position and size of embedded frames just look at CProxyShape which is a
- subclass of CBaseShape. CProxyShape like any other shape in ODFDraw has a
- bounding box you can get it by calling GetRectGeometry (which is defined
- in CBoundedShape).
-
-
- .......................................................................
- Henri Lamiraux lamiraux@apple.com
- Apple Computer, Inc. OpenDoc(tm) Development Framework
- .......................................................................
-
-
-